<%@ page contentType="text/html; charset=UTF-8" %>
<%@ page pageEncoding="UTF-8" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<script type="text/javascript" src="${contextPath}/static/script/syntaxhighlighter/scripts/shCore.js"></script>
<script type="text/javascript" src="${contextPath}/static/script/syntaxhighlighter/scripts/shBrushXml.js"></script>
<link type="text/css" rel="stylesheet" href="${contextPath}/static/script/syntaxhighlighter/styles/shCoreEmacs.css"/>
<script type="text/javascript">
    $(document).ready(function () {
        SyntaxHighlighter.all();
    });
</script>

<div class="tab_menu clearfix">
    <ul class="tab">
        <li>Reservation Modified Detail</li>
    </ul>
</div>
<div class="main">
    <input type="button" value="Back" class="common_button" onclick="javascript:history.go(-1);">
    <s:if test="reservationModifyItems!=null && reservationModifyItems.size()>0">
        <table id="channel" class="table_list" cellpadding="0" cellspacing="0">
            <thead>
            <tr>
                <th>Ersp No</th>
                <th>IHG Reservation No</th>
                <th>Rate Plan</th>
                <th>Room Type</th>
                <th>Adults</th>
                <th>Children</th>
                <th>NumberOfUnit</th>
                <th>CheckIn</th>
                <th>Duration</th>
                <th>Given Name</th>
                <th>Sure Name</th>
                <th>Confirm Time</th>
            </tr>
            </thead>
            <tbody>
            <s:iterator value="reservationModifyItems">
                <tr>
                    <td>${ersp}</td>
                    <td>${confirmNumber}</td>
                    <td>${ratePlanCode}</td>
                    <td>${roomTypeCode}</td>
                    <td>${adults}</td>
                    <td>${children}</td>
                    <td>${numberOfUnit}</td>
                    <td>${start}</td>
                    <td>${duration}</td>
                    <td>${givenName}</td>
                    <td>${surename}</td>
                    <td><s:date name="confirmTime" format="yyyy-MM-dd HH:mm:ss"/></td>
                </tr>
            </s:iterator>
            </tbody>
        </table>
    </s:if>
</div>
